import ManageIndexView from "@/views/manage/ManageIndexView.vue";
import VueRouter from "vue-router";
import ManageStaffView from "@/views/manage/ManageStaffView.vue";
import ManageAdminView from "@/views/manage/ManageAdminView.vue";
import ManageAdminaddView from "@/views/manage/ManageAdminaddView.vue";
import ManageBuildingView from "@/views/manage/ManageBuildingView.vue";
import ManageBuildingAddView from "@/views/manage/ManageBuildingAddView.vue";
import ManageAddCellsView from "@/views/manage/ManageAddCellsView.vue";
import ManageAddResidentView from "@/views/manage/ManageAddResidentView.vue";
import ManageHouseView from "@/views/manage/ManageHouseView.vue";
import ManageHouseAddView from "@/views/manage/ManageHouseAddView.vue";
import ManageComplaintView from "@/views/manage/ManageComplaintView.vue";
import ManageOwnerView from "@/views/manage/ManageOwnerView.vue";
import ManageOwnerInfoView from "@/views/manage/ManageOwnerInfoView.vue";
import ManageOwnerInfoShowOrUpdateView from "@/views/manage/ManageOwnerInfoShowOrUpdateView.vue";
//import ManageBulletinListView from "@/views/manage/bulletin/ManageBulletinListView";
import ManageResidentListView from "@/views/manage/ManageResidentListView";
import ManageBulletinView from "@/views/manage/bulletin/ManageBulletinView";
import ManageBulletinListView from "@/views/manage/bulletin/ManageBulletinListView";
import ManageHomeView from "@/views/manage/ManageHomeView.vue";
import ManagePropertyFeeView from "@/views/manage/ManagePropertyFeeView.vue";
import ManageRapairView from "@/views/manage/ManageRapairView.vue";

const managerouter=[
    {
        path:'/manage/staff',
        name:'员工管理',
        component: ManageStaffView
    },
    {
        path:'/manage/admin',
        name:'管理员信息',
        component: ManageAdminView


    },
    {
        path:'/manage/adminadd',
        name:'管理员添加',
        component: ManageAdminaddView


    },
    {
        path:'/manage/building',
        name:'楼栋信息',
        component: ManageBuildingView


    },
    {
        path:'/manage/buildingAdd',
        name:'楼栋添加',
        component: ManageBuildingAddView
    },
    {
        path: '/manage/complaint',
        name:'投诉管理',
        component: ManageComplaintView
    },
    {
        path: '/manage/rapair',
        name:'报修管理',
        component: ManageRapairView
    },
    {
        path:'/manage/owner',
        name:'业主添加',
        component: ManageOwnerView,
    },
    {
        path:'/manage/addcells',
        name:'单元添加',
        component: ManageAddCellsView,
    },
    {
        path:'/manage/addresident',
        name:'居民添加',
        component: ManageAddResidentView,
    },
    {
        path:'/manage/residentlist',
        name:'居民列表',
        component: ManageResidentListView
    },
    //公告
    {
        path:'/manage/bulletinAdd',
        name:'添加公告',
        component: ManageBulletinView
    },
    {
        path: '/manage/bulletinList',
        name:'所有公告',
        component:ManageBulletinListView
    },
    {
        path: '/manage/ownerInfo',
        name: '查看业主信息',
        component: ManageOwnerInfoView,

    },
    {
        path:'/manage/house',
        name:'房屋信息',
        component: ManageHouseView
    },
    {
        path:'/manage/houseAdd',
        name:'房屋添加',
        component: ManageHouseAddView
    },
    {
        path: '/manage/ownerUpdate',
        name:'业主详情及修改',
        component: ManageOwnerInfoShowOrUpdateView,
    },
    {
        path:'/manage/home',
        name:'首页',
        component: ManageHomeView,
    },
    {
        path: '/manage/propertyFee',
        name:'物业费管理',
        component: ManagePropertyFeeView,
    },


]

export default managerouter
